/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: andres orellana
 * License Type: Evaluation
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface LogDAO {
	public Log loadLogByORMID(int log_id) throws PersistentException;
	public Log getLogByORMID(int log_id) throws PersistentException;
	public Log loadLogByORMID(int log_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log getLogByORMID(int log_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log loadLogByORMID(PersistentSession session, int log_id) throws PersistentException;
	public Log getLogByORMID(PersistentSession session, int log_id) throws PersistentException;
	public Log loadLogByORMID(PersistentSession session, int log_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log getLogByORMID(PersistentSession session, int log_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log[] listLogByQuery(String condition, String orderBy) throws PersistentException;
	public Log[] listLogByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log[] listLogByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Log[] listLogByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log loadLogByQuery(String condition, String orderBy) throws PersistentException;
	public Log loadLogByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log loadLogByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Log loadLogByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Log createLog();
	public boolean save(orm.Log log) throws PersistentException;
	public boolean delete(orm.Log log) throws PersistentException;
	public boolean deleteAndDissociate(orm.Log log) throws PersistentException;
	public boolean deleteAndDissociate(orm.Log log, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Log log) throws PersistentException;
	public boolean evict(orm.Log log) throws PersistentException;
	public Log loadLogByCriteria(LogCriteria logCriteria);
	public Log[] listLogByCriteria(LogCriteria logCriteria);
}
